﻿#ifndef TRAYICONMENU_H
#define TRAYICONMENU_H

#include <QMenu>
#include <QObject>
#include <QWidget>
#include <QVBoxLayout>
#include <QPushButton>

class TrayIconMenu : public QMenu
{
    Q_OBJECT
public:
    TrayIconMenu(QWidget *parent = nullptr);
    void insertLogoutButton();
    void removeLogoutButton();
signals:
    void quit();
    void logout();
private:
    QVBoxLayout* menuLayout=nullptr;
    QPushButton *quitButton=nullptr;
    QPushButton *logoutButton=nullptr;
};

#endif // TRAYICONMENU_H
